package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 存款类型实体类
 */
@Data
@TableName("deposit")
public class Deposit {
    /**
     * 存款编号
     */
    @TableId(value = "saving_id", type = IdType.AUTO)
    private Integer savingId;
    
    /**
     * 存款名称
     */
    private String savingName;
    
    /**
     * 存款描述
     */
    private String descrip;

    public Integer getSavingId() {
        return savingId;
    }

    public void setSavingId(Integer savingId) {
        this.savingId = savingId;
    }

    public String getDescrip() {
        return descrip;
    }

    public void setDescrip(String descrip) {
        this.descrip = descrip;
    }

    public String getSavingName() {
        return savingName;
    }

    public void setSavingName(String savingName) {
        this.savingName = savingName;
    }
}